﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ExampleList.ascx.cs" Inherits="SampleSite.UserControls.ExampleList" %>
<h4>Examples</h4>
<asp:ListView ID="ListView1" runat="server">
    <LayoutTemplate>
        <ul id="Ul1" runat="server">
            <li runat="server" id="itemPlaceholder" />
        </ul>
    </LayoutTemplate>
    <ItemTemplate>
        <li id="Li1" runat="server"><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("Url") %>'><%# Eval("Name") %></asp:HyperLink></li>
    </ItemTemplate>
    <SelectedItemTemplate>
        <li id="Li2" runat="server"><%# Eval("Name") %></li>
    </SelectedItemTemplate>
</asp:ListView>